package hong.jun.pet_home.domain.product;


import hong.jun.basic.base.domain.Basedomain;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

/**
 * 服务
 */
@Data
public class Product extends Basedomain {
    private String name;           //名称
    private String resources;      //资源路径
    private BigDecimal saleprice;      //售价
    private BigDecimal costprice;      //成本价
    private Date offsaletime;    //下架时间
    private Date onsaletime;     //上架时间
    private Integer state;          // 状态 0 下架 1 上架
    private Date createtime;     //创建时间
    private Long salecount;      // 销量

    //接受intro和orderNotice属性
    private ProductDetail detail = new ProductDetail();

}
